package com.ruoyi.project.cms.pro.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ruoyi.project.cms.pro.domain.DocumentManager;
import com.ruoyi.project.cms.pro.mapper.DocumentManagerMapper;
import com.ruoyi.project.cms.pro.service.DocumentManagerService;
/**
 *com.ruoyi.project.cms.pro.service
 *作者：lh
 描述:
 *时间:2020-05-20
 */
@Service
public class DocumentManagerServiceImpl implements DocumentManagerService{

    @Resource
    private DocumentManagerMapper documentManagerMapper;

    @Override
    public int deleteByPrimaryKey(Integer docId) {
        return documentManagerMapper.deleteByPrimaryKey(docId);
    }

    @Override
    public int insert(DocumentManager record) {
        return documentManagerMapper.insert(record);
    }

    @Override
    public DocumentManager selectByPrimaryKey(Integer docId) {
        return documentManagerMapper.selectByPrimaryKey(docId);
    }

    @Override
    public int updateByPrimaryKey(DocumentManager record) {
        return documentManagerMapper.updateByPrimaryKey(record);
    }

}
